package com.foton.designmodel.strategy.impl;

import com.foton.designmodel.strategy.VipMoney;
import org.springframework.stereotype.Component;


@Component("vipThree")
public class VipThree implements VipMoney {
    @Override
    public Integer money(Integer orderAmount) {
        return (int) (orderAmount * 0.5);
    }
}
